package com.example.demo3.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissionBo {

    private Integer id;

    @NotBlank(message = "权限不能为空")
    private String permission;

    @NotBlank (message = "权限名称不能为空")
    private String permissionName;






}
